/*
 * @Author: your name
 * @Date: 2021-05-19 09:38:42
 * @LastEditTime: 2021-06-16 23:52:33
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \xbsg-platform-ui\src\api\menu.js
 */
import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/system/menu/getRouters',
    method: 'get'
  })
}

// 上传文件
export function fileupload(data) {
  return request({
    url: '/system/file/upload',
    method: 'post',
    data: data
  })
}